.el-sub-menu.is-opened > .el-sub-menu__title .page-sub-menu__icon-arrow {
    transform: rotateZ(180deg);
}
.el-sub-menu .page-sub-menu__icon-arrow {
    transition: transform 0.3s;
}
.app-preview-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    .left-wrap {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 240px;
        height: 560px;
        border: 1px solid var(--edit-border-color);
        background-color: var(--edit-bg-color);
        box-sizing: border-box;
        .left-header {
            width: 238px;
            line-height: 60px;
            text-align: center;
            border-bottom: 1px solid var(--edit-border-color-light);
        }
        ::v-deep(.page-menu) {
            border-right: none;
            .el-sub-menu {
                & > .el-sub-menu__title {
                    border-bottom: 1px solid var(--edit-border-color-light);
                    .el-sub-menu__icon-arrow {
                        display: none;
                    }
                    &:hover {
                        .page-sub-menu-title .actions-warp {
                            display: block;
                        }
                    }
                    .page-sub-menu-title {
                        width: 100%;
                        display: flex;
                        align-items: center;
                        position: relative;
                        & > .el-icon {
                            margin-right: 0;
                        }
                        .el-icon {
                            font-size: 15px;
                        }
                        .title-warp {
                            max-width: 100px;
                            overflow: hidden;
                            vertical-align: top;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                        .actions-warp {
                            position: absolute;
                            top: 0;
                            right: -10px;
                            display: none;
                            .el-icon {
                                margin: 0;
                                margin-left: 5px;
                                color: var(--edit-text-color-regular);
                                font-size: 16px;
                                &:hover {
                                    color: var(--edit-color-primary);
                                }
                            }
                        }
                    }
                }
            }
            .el-menu {
                background-color: var(--edit-custome-background-color-4);
                .el-menu-item {
                    border-bottom: 1px solid var(--edit-border-color-light);
                    &.is-active {
                        background-color: var(--edit-color-primary-light-8);
                    }
                    &.is-disabled {
                        opacity: 1;
                        cursor: default;
                    }
                    &:hover {
                        .page-menu-item .actions-warp {
                            display: block;
                        }
                    }
                    .page-menu-item {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        position: relative;
                        & > .el-icon {
                            margin-right: 0;
                        }
                        .el-icon {
                            font-size: 15px;
                        }
                        .title-tag {
                            position: absolute;
                            left: -24px;
                        }
                        .title-warp {
                            max-width: 100px;
                            overflow: hidden;
                            vertical-align: top;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            line-height: 1;
                            .title-txt {
                                line-height: 27px;
                            }
                            .desc-txt {
                                color: var(--edit-text-color-disabled);
                                font-size: 12px;
                            }
                        }
                        .actions-warp {
                            position: absolute;
                            top: 0;
                            right: -10px;
                            display: none;
                            .el-icon {
                                margin: 0;
                                margin-left: 5px;
                                color: var(--edit-text-color-regular);
                                font-size: 16px;
                                &:hover {
                                    color: var(--edit-color-primary);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .main-wrap {
        border: 10px solid var(--edit-border-color-lighter);
        border-radius: 8px;
        background-color: var(--edit-bg-color);
        box-sizing: border-box;
        margin: 0 30px;
        transform: scale(0.9);
        .preview-iframe {
            display: block;
            width: 374px;
            height: 710px;
        }
    }
    .right-wrap {
        width: 240px;
        height: 560px;
        border: 1px solid var(--edit-border-color);
        background-color: var(--edit-bg-color);
        box-sizing: border-box;
        .right-header {
            line-height: 60px;
            text-align: center;
            font-weight: bold;
            font-size: 18px;
            border-bottom: 1px solid var(--edit-border-color-light);
            padding: 0 20px;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        .right-content {
            padding: 20px;
            .code-wrap {
                width: 100%;
                border: 1px solid var(--edit-border-color-light);
                padding: 10px;
                box-sizing: border-box;
                .code-image {
                    display: block;
                    width: 160px;
                    height: 160px;
                    line-height: 160px;
                    color: var(--edit-color-info);
                    text-align: center;
                    margin: 0 auto;
                    padding: 5px;
                    background-color: #fff;
                    box-sizing: border-box;
                }
                .code-tip-txt {
                    margin-top: 10px;
                    color: var(--edit-text-color-primary);
                    font-size: 12px;
                    text-align: center;
                }
            }
            .code-input {
                margin-top: 20px;
                .copy-code-btn {
                    cursor: pointer;
                }
            }
        }
    }
}